package com.moos.example.bean;

import androidx.annotation.NonNull;

import java.util.List;

public class CommentBean {
    private int code;
    private String message;
    private Data data;


    public void setCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public Data getData() {
        return data;
    }

    public static class Data {

        private int total;

        private int count;

        private List<CommentDetailBean> list;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotal() {
            return total;
        }

        public void setList(List<CommentDetailBean> list) {
            this.list = list;
        }

        public List<CommentDetailBean> getList() {
            return list;
        }

    }

    @NonNull
    @Override
    public String toString() {
        return "CommentBean{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
